import React, { FC } from 'react';
import theme from '../../../theme';

interface CommunityColorfulIconProps {
  width?: string;
  color?: string;
}

const CommunityColorfulIcon: FC<CommunityColorfulIconProps> = ({ width }) => {
  const DEFAULT_WIDTH = '22';

  return (
    <svg width={width || DEFAULT_WIDTH} viewBox="0 0 516.29 516.29" xmlns="http://www.w3.org/2000/svg">
      <g clipRule="evenodd" fillRule="evenodd">
        <path
          d="M296.629 238.718c0-21.167-17.318-38.485-38.484-38.485s-38.484 17.318-38.484 38.485v19.242c0 9.838 3.741 18.844 9.871 25.667 7.059 7.857 17.285 12.817 28.614 12.817s21.555-4.961 28.613-12.817c6.13-6.822 9.871-15.829 9.871-25.667v-19.242z"
          fill={theme.colors.general.error}
        />
        <path
          d="M286.758 283.627c-7.059 7.857-17.285 12.817-28.613 12.817-11.329 0-21.555-4.961-28.612-12.819-22.838 10.807-38.736 34.098-38.736 60.924v119.489h134.696V344.549c0-26.824-15.898-50.116-38.735-60.922z"
          fill={theme.colors.general.error}
        />
        <path
          d="M177.527 238.718c0-21.167-17.318-38.485-38.484-38.485s-38.484 17.318-38.484 38.485v19.242c0 9.838 3.741 18.844 9.871 25.667 7.059 7.857 17.285 12.817 28.614 12.817s21.555-4.961 28.613-12.817c6.13-6.822 9.871-15.829 9.871-25.667v-19.242z"
          fill={theme.colors.general.error}
        />
        <path
          d="M167.656 283.627c-7.059 7.857-17.285 12.817-28.613 12.817s-21.555-4.961-28.612-12.819c-22.838 10.807-38.736 34.098-38.736 60.924v119.489h134.696V344.549c0-26.824-15.898-50.116-38.735-60.922z"
          fill={theme.colors.general.warning}
        />
        <path
          d="M415.731 238.718c0-21.167-17.318-38.485-38.484-38.485-21.167 0-38.484 17.318-38.484 38.485v19.242c0 9.838 3.741 18.844 9.871 25.667 7.059 7.857 17.285 12.817 28.613 12.817 11.329 0 21.555-4.961 28.614-12.817 6.13-6.822 9.871-15.829 9.871-25.667v-19.242z"
          fill={theme.colors.general.error}
        />
        <path
          d="M405.86 283.627c-7.059 7.857-17.285 12.817-28.614 12.817s-21.555-4.961-28.612-12.819c-22.838 10.807-38.736 34.098-38.736 60.924v119.489h134.696V344.549c.001-26.824-15.897-50.116-38.734-60.922z"
          fill={theme.colors.general.error}
        />
        <path
          d="M246.448 23.013c-17.37-17.315-45.795-17.315-63.165 0-47.193 47.042 43.661 129.256 74.863 137.59 31.202-8.334 122.056-90.548 74.863-137.59-17.37-17.315-45.795-17.315-63.165 0-6.963 6.94-17.157 6.219-23.396 0z"
          fill={theme.colors.general.error}
        />
        <path
          d="M117.977 376.25c0-21.167-17.318-38.484-38.484-38.484s-38.484 17.318-38.484 38.484v19.242c0 9.838 3.741 18.844 9.871 25.667 7.059 7.857 17.285 12.817 28.613 12.817 11.329 0 21.555-4.961 28.614-12.817 6.13-6.822 9.871-15.829 9.871-25.667V376.25z"
          fill={theme.colors.general.error}
        />
        <path
          d="M108.106 421.16c-7.059 7.857-17.285 12.817-28.614 12.817s-21.555-4.961-28.612-12.819c-22.838 10.807-38.736 34.098-38.736 60.924v24.208H146.84v-24.208c.001-26.825-15.897-50.116-38.734-60.922z"
          fill={theme.colors.general.warning}
        />
        <path
          d="M237.078 376.25c0-21.167-17.318-38.484-38.484-38.484-21.167 0-38.484 17.318-38.484 38.484v19.242c0 9.838 3.741 18.844 9.871 25.667 7.059 7.857 17.285 12.817 28.613 12.817 11.329 0 21.555-4.961 28.613-12.817 6.13-6.822 9.871-15.829 9.871-25.667z"
          fill={theme.colors.general.warning}
        />
        <path
          d="M227.208 421.16c-7.059 7.857-17.285 12.817-28.613 12.817-11.329 0-21.555-4.961-28.612-12.819-22.838 10.807-38.736 34.098-38.736 60.924v24.208h134.696v-24.208c0-26.825-15.899-50.116-38.735-60.922z"
          fill={theme.colors.general.warning}
        />
        <path
          d="M356.18 376.25c0-21.167-17.318-38.484-38.484-38.484-21.167 0-38.484 17.318-38.484 38.484v19.242c0 9.838 3.741 18.844 9.871 25.667 7.059 7.857 17.285 12.817 28.614 12.817s21.555-4.961 28.613-12.817c6.13-6.822 9.871-15.829 9.871-25.667V376.25z"
          fill={theme.colors.general.error}
        />
        <path
          d="M346.309 421.16c-7.059 7.857-17.285 12.817-28.613 12.817-11.329 0-21.555-4.961-28.612-12.819-22.838 10.807-38.736 34.098-38.736 60.924v24.208h134.696v-24.208c0-26.825-15.898-50.116-38.735-60.922z"
          fill={theme.colors.general.warning}
        />
        <path
          d="M475.282 376.25c0-21.167-17.318-38.484-38.484-38.484-21.167 0-38.484 17.318-38.484 38.484v19.242c0 9.838 3.741 18.844 9.871 25.667 7.059 7.857 17.285 12.817 28.613 12.817 11.329 0 21.555-4.961 28.613-12.817 6.13-6.822 9.871-15.829 9.871-25.667z"
          fill={theme.colors.general.error}
        />
        <path
          d="M465.411 421.16c-7.059 7.857-17.285 12.817-28.613 12.817-11.329 0-21.555-4.961-28.612-12.819-22.838 10.807-38.736 34.098-38.736 60.924v24.208h134.696v-24.208c0-26.825-15.898-50.116-38.735-60.922z"
          fill={theme.colors.general.warning}
        />
      </g>
      <path d="M479.794 417.859a48.168 48.168 0 005.488-22.366V376.25c0-20.93-13.332-38.802-31.949-45.578-3.75-20.643-15.654-38.699-33.087-50.353a48.175 48.175 0 005.484-22.358v-19.243c0-26.734-21.75-48.484-48.484-48.484s-48.484 21.75-48.484 48.484v19.243a48.172 48.172 0 005.485 22.36 77.64 77.64 0 00-16.583 14.944 77.432 77.432 0 00-16.528-14.928 48.173 48.173 0 005.493-22.376v-19.243c0-26.734-21.75-48.484-48.484-48.484s-48.484 21.75-48.484 48.484v19.243a48.158 48.158 0 005.494 22.376 77.431 77.431 0 00-16.608 15.03 78.216 78.216 0 00-16.515-15.024 48.173 48.173 0 005.497-22.382v-19.243c0-26.734-21.75-48.484-48.485-48.484-26.734 0-48.484 21.75-48.484 48.484v19.243a48.172 48.172 0 005.485 22.36C78.626 291.97 66.71 310.03 62.957 330.673c-18.617 6.775-31.948 24.647-31.948 45.577v19.243c0 8.064 1.99 15.669 5.488 22.366-21.404 14.298-34.352 38.104-34.352 64.224v24.208c0 5.523 4.477 10 10 10H504.147c5.522 0 10-4.477 10-10v-24.208c-.001-26.12-12.948-49.927-34.353-64.224zm-14.511-41.609v19.243c0 15.706-12.778 28.484-28.484 28.484s-28.484-12.778-28.484-28.484V376.25c0-15.707 12.778-28.484 28.484-28.484s28.484 12.778 28.484 28.484zm-33.165-48.254c-24.546 2.363-43.804 23.099-43.804 48.254v19.243a48.17 48.17 0 005.495 22.378 77.57 77.57 0 00-16.508 14.918 77.677 77.677 0 00-16.609-14.93 48.171 48.171 0 005.488-22.366V376.25c0-25.154-19.257-45.89-43.802-48.254 4.053-13.175 12.873-24.733 24.687-32.131 8.289 6.613 18.777 10.58 30.181 10.58 11.403 0 21.891-3.967 30.18-10.58 11.823 7.401 20.639 18.954 24.692 32.131zm-142.907 67.497V376.25c0-15.706 12.778-28.484 28.484-28.484s28.484 12.778 28.484 28.484v19.243c0 15.706-12.778 28.484-28.484 28.484s-28.484-12.778-28.484-28.484zm59.551-156.775c0-15.707 12.778-28.484 28.484-28.484s28.484 12.778 28.484 28.484v19.243c0 15.706-12.778 28.484-28.484 28.484s-28.484-12.778-28.484-28.484zm-119.102 0c0-15.707 12.778-28.484 28.484-28.484s28.484 12.778 28.484 28.484v19.243c0 15.706-12.778 28.484-28.484 28.484-15.707 0-28.485-12.778-28.485-28.484v-19.243zm-1.695 57.147c8.289 6.613 18.777 10.58 30.18 10.58s21.891-3.967 30.179-10.579a57.663 57.663 0 0118.028 17.751 77.098 77.098 0 00-5.193 17.056c-18.617 6.775-31.948 24.648-31.948 45.577v19.243c0 8.064 1.99 15.668 5.488 22.365a77.65 77.65 0 00-16.603 14.919 77.427 77.427 0 00-16.511-14.908 48.165 48.165 0 005.494-22.377V376.25c0-20.935-13.338-38.81-31.961-45.582a76.55 76.55 0 00-5.241-16.954 57.657 57.657 0 0118.088-17.849zm-57.856 99.628V376.25c0-15.707 12.778-28.484 28.485-28.484s28.485 12.778 28.485 28.484v19.243c0 15.706-12.778 28.484-28.485 28.484s-28.485-12.778-28.485-28.484zm-59.551-156.775c0-15.707 12.778-28.484 28.484-28.484 15.707 0 28.485 12.778 28.485 28.484v19.243c0 15.706-12.778 28.484-28.484 28.484-15.707 0-28.485-12.778-28.485-28.484zm-1.696 57.147c8.289 6.613 18.777 10.58 30.181 10.58 11.403 0 21.892-3.967 30.18-10.58 11.825 7.401 20.638 18.953 24.69 32.131-24.546 2.363-43.804 23.099-43.804 48.254v19.243c0 8.064 1.99 15.669 5.488 22.366a77.68 77.68 0 00-16.599 14.914 77.358 77.358 0 00-16.515-14.904 48.173 48.173 0 005.493-22.376V376.25c0-25.154-19.257-45.89-43.802-48.254 4.055-13.175 12.874-24.733 24.688-32.131zM51.008 376.25c0-15.707 12.778-28.484 28.485-28.484 15.706 0 28.484 12.778 28.484 28.484v19.243c0 15.706-12.778 28.484-28.484 28.484-15.707 0-28.485-12.778-28.485-28.484zM22.144 482.083c0-20.021 10.284-38.219 27.163-48.689 8.289 6.615 18.78 10.584 30.185 10.584 11.403 0 21.891-3.967 30.18-10.58a57.601 57.601 0 0118.011 17.725c-4.179 9.571-6.437 20.063-6.437 30.96v14.208H22.144zm119.102 0c0-20.021 10.283-38.219 27.162-48.689 8.289 6.615 18.78 10.584 30.185 10.584 11.403 0 21.891-3.967 30.18-10.579a57.638 57.638 0 0118.01 17.728c-4.178 9.57-6.436 20.061-6.436 30.957v14.208h-99.102v-14.209zm119.102 0c0-20.021 10.283-38.219 27.162-48.689 8.289 6.615 18.78 10.584 30.185 10.584s21.896-3.968 30.185-10.584c16.878 10.471 27.164 28.675 27.164 48.689v14.208H260.348zm233.798 14.207h-99.102v-14.208c0-10.892-2.258-21.383-6.437-30.954a57.746 57.746 0 0118.011-17.731c8.288 6.613 18.776 10.579 30.179 10.579 11.405 0 21.896-3.968 30.185-10.584 16.88 10.47 27.163 28.668 27.163 48.689v14.209zM177.389 85.011c5.194-1.876 7.885-7.608 6.009-12.802-6.288-17.412-4.017-31.188 6.944-42.114 13.521-13.479 35.523-13.479 49.045 0 10.518 10.484 26.997 10.485 37.515 0 13.523-13.479 35.524-13.479 49.046 0 9.816 9.785 12.645 21.808 8.646 36.755-10.02 37.455-56.496 75.703-76.441 83.246-5.707-2.176-13.668-6.932-21.976-13.178-4.415-3.32-10.685-2.431-14.002 1.984-3.319 4.415-2.431 10.684 1.984 14.002 11.936 8.973 23.089 15.138 31.406 17.359a9.99 9.99 0 005.162 0c13.31-3.555 33.573-17.178 51.624-34.707 12.396-12.037 34.278-36.297 41.565-63.538 5.843-21.84 1.055-41.235-13.848-56.088-21.307-21.241-55.978-21.241-77.284 0-3.045 3.034-6.972 2.297-9.276 0-21.309-21.24-55.978-21.238-77.285 0-16.554 16.501-20.578 38.311-11.636 63.071 1.876 5.195 7.607 7.883 12.802 6.01z" />
      <path d="M197.459 104.005c-5.523 0-9.996 4.477-9.996 10s4.48 10 10.003 10 10-4.477 10-10-4.477-10-10-10z" />
    </svg>
  );
};

export default CommunityColorfulIcon;
